home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3c / acl_valid.z / acl_valid
Encoding:
Text File  |  2002-10-03  |  1.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4. AAAACCCCLLLL____VVVVAAAALLLLIIIIDDDD((((3333CCCC))))                                                    AAAACCCCLLLL____VVVVAAAALLLLIIIIDDDD((((3333CCCC))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      acl_valid - validate an ACL
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////aaaaccccllll....hhhh>>>>
  13.  
  14.      iiiinnnntttt aaaaccccllll____vvvvaaaalllliiiidddd(((( ssssttttrrrruuuucccctttt aaaaccccllll ****aaaaccccllllpppp))));;;;
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      Check that the format of an ACL is valid.
  18.  
  19.      First, _a_c_l_p must be non null.  The three required entries (ACL_USER_OBJ,
  20.      ACL_GROUP_OBJ, and ACL_OTHER) must exist exactly once in the ACL.  If the
  21.      ACL contains any ACL_USER, ACL_GROUP, or any implementation-defined
  22.      entries in the file group class, then one ACL_MASK entry is required. The
  23.      ACL may contain at most one ACL_MASK entry.
  24.  
  25.      The qualifier field must be unique among all entries of the same type.
  26.  
  27. RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEESSSS
  28.      _a_c_l__v_a_l_i_d returns 0 if the ACL is valid, -1 otherwise.
  29.  
  30. EEEERRRRRRRROOOORRRRSSSS
  31.      EINVAL          ACL is not valid.
  32.  
  33. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  34.      acl(4).
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.